import Vue from 'vue'
// import 'vant/lib/index.css';
import { Button } from 'vant';
import { Toast } from 'vant';
import { Field } from 'vant';
import { Popup } from 'vant';
import { DatetimePicker } from 'vant';
import { Checkbox, CheckboxGroup } from 'vant';
import { ActionSheet } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Tabbar, TabbarItem } from 'vant';
import { Sticky } from 'vant';
import { Dialog } from 'vant';
import { Progress} from 'vant';
import { Collapse, CollapseItem } from 'vant';
import { Empty } from 'vant';
import { Tag } from 'vant';
import { Col, Row } from 'vant';
import { Image as VanImage } from 'vant';
import { ImagePreview } from 'vant';
import { Divider } from 'vant';
import { Tab, Tabs } from 'vant';
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Divider);
// 全局注册
Vue.use(ImagePreview);
Vue.use(VanImage);
Vue.use(Col);
Vue.use(Row);
Vue.use(Tag);
Vue.use(Empty);
Vue.use(Progress);
// 全局注册
Vue.use(Dialog);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Sticky);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(ActionSheet);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(DatetimePicker);
Vue.use(Popup);
Vue.use(Field);
Vue.use(Toast);
//按需引入
Vue.use(Button);